tini=`date +%s`

for a in {1..100}
do

mpiexec -print-rank-map -f hosts -n $1 ./CGrasp BEALE 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp BOHACHEVSKY 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp BOOTH 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp BRANIN 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp EASOM 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp GOLDSTEINPRICE 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp MATYAS 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp ROSENBROCK 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SCHWEFEL 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SHUBERT 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp HUMP 2 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SPHERE 3 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp HARTMANN 3 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp COLVILLE 3 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp PERM 4 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp PERM0 4 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SHEKEL 5 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SHEKEL 7 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SHEKEL 10 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp HARTMANN 6 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SCHWEFEL 6 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp TRID 6 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp GRIEWANK 10 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp RASTRIGIN 10 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp ROSENBROCK 10 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SUMSQUARES 10 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp TRID 10 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp ZAKHAROV 10 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp GRIEWANK 20 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp RASTRIGIN 20 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp ROSENBROCK 20 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SUMSQUARES 20 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp ZAKHAROV 20 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp POWELL 24 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp DIXONPRICE 25 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp ACKLEY 30 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp LEVY 30 50000 100 PURO 2
mpiexec -print-rank-map -f hosts -n $1 ./CGrasp SPHERE 30 50000 100 PURO 2

done
tfim=`date +%s`
((tdiff=tfim-tini))
echo $tdiff